home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -in_the_mag- / pdselect / jpeg-dt / jpeg-dt35 / jpeg-dt35.readme < prev    next >
Text File  |  1999-11-15  |  2KB  |  86 lines

  1. Short:    New Datatype for JPEG Images (46.0)
  2. Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  3. Author:   astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  4. Type:     util/dtype
  5. Version:  46.0
  6.  
  7. Requires minimum:
  8.  * OS 3.5
  9.  
  10. Additionally recommended:
  11.  * MUI 3.8 for the preferences.
  12.  
  13. ##########################################################
  14.  
  15. NOTE:
  16. This JPEG datatype is for OS 3.5 only !!
  17. Download util/dtype/JPEG-DT.lha under OS 3.0 or OS 3.1 !!
  18.  
  19. ##########################################################
  20.  
  21. With the help of the jpeg.datatype, your datatype sytem is able to read JPEG images.
  22.  
  23. This datatype is freeware and can be used for any purpose !
  24.  
  25.  
  26. ##### Why another datatype for JPEG images ? #####
  27.  
  28. Well there are many of them available on the Aminet, but this has two unbeatable
  29. advantages !!
  30.  
  31. 1. It is very short, only about 8 kB !! Why ? Because it does not contain the JPEG
  32. de/encoder in the datatype itself.
  33. The datatype uses the jpeg.library from Paul Huxham for the JPEG de/encoding
  34. from the latest JPEG V6b release, so it is up-to-date.
  35.  
  36. 2. It can write JPEG files when using the DTMW_RAW flag in the DTM_WRITE method !!
  37.  
  38.  
  39. Internet: http://www.rzuser.uni-heidelberg.de/~astegema/
  40.  
  41.  
  42. Important note about the source code:
  43. *************************************
  44.  
  45. The source has been written in C++ using Maxon-C++ V3.
  46. You will find several instructions a bit strange as I have converted all C-style OS-structures
  47. to C++ OS-structures.
  48. E.g.
  49.  
  50. struct Library
  51. {
  52. struct Node lib_Node;
  53. UBYTE lib_Flags;
  54. UBYTE lib_pad;
  55. UWORD lib_NegSize;
  56. UWORD lib_PosSize;
  57. UWORD lib_Version;
  58. UWORD lib_Revision;
  59. APTR lib_IdString;
  60. ULONG lib_Sum;
  61. UWORD lib_OpenCnt;
  62. };
  63.  
  64. has been converted to
  65.  
  66. struct Library:Node // !!!!!
  67. {
  68. UBYTE lib_Flags;
  69. UBYTE lib_pad;
  70. UWORD lib_NegSize;
  71. UWORD lib_PosSize;
  72. UWORD lib_Version;
  73. UWORD lib_Revision;
  74. APTR lib_IdString;
  75. ULONG lib_Sum;
  76. UWORD lib_OpenCnt;
  77. };
  78.  
  79. This simplifies the code as I don't always need to cast variables to fit arguments
  80. in functions.
  81. Additionally C++ allows to leave away the 'struct' keyword !
  82.  
  83. If you like to recompile the source-code for your compiler, you need to adjust the
  84. source-code to C. But this should be no problem.
  85.  
  86.